/* 这个文件用来实现登录页的样式 */

.login-container {
    height: calc(100% - 50px);
    /* 这三个样式是为了让 .dialog 垂直水平居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog {
    width: 400px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
}

.dialog h3 {
    font-size: 20px;
    text-align: center;
    padding: 40px 0;
}

.dialog .row {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog .row span {
    width: 80px;
}

#username, #password {
    height: 40px;
    width: 180px;
    font-size: 18px;
    padding-left: 5px;
}

#login-btn {
    width: 260px;
    height: 40px;
    border-radius: 5px;
    background-color: rgb(0, 128, 0);
    color: white;
    border: none;
}

#login-btn:active {
    background-color: grey;
}